<?php

namespace App\Model;

use Util\Common;

/**
 * 首页banner-模型
 */
class Banner extends Model
{

//    use TimeZoneTrait;

    public bool $timestamps = true;

    protected ?string $table = 'banner';

    protected array $fillable = [
        'id','sort', 'thumb', 'url','type','is_del','addr'
    ];

    protected array $casts = [
        'created_at' => 'datetime:Y-m-d H:i:s',
        'updated_at' => 'datetime:Y-m-d H:i:s',
    ];

}
